import request from '@/utils/request.js'

// 获取 mv 数据
export const mvDetail = id => request(`/mv/detail?mvid=${id}`)

// 获取 mv 播放地址
export const mvUrl = ({ id, r = 1080 }) => request(`/mv/url?id=${id}&r=${r}`)

// 获取mv评论
export const commentMv = ({ id, limit = 20, offset = 0, before = 0, timestamp = 0 }) => request(`/comment/mv?id=${id}&limit=${limit}&offset=${offset}&before=${before}&timestamp=${timestamp}`)

// 相似mv
export const simiMv = id => request(`/simi/mv?mvid=${id}`)

// mv 点赞转发评论数数据
export const mvDetailInfo = id => request(`/mv/detail/info?mvid=${id}`)
